package com.zenithmind.article.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentPageVO {
    @Schema(description = "主键")
    private String id;

    @Schema(description = "文章ID")
    private String articleId;

    @Schema(description = "评论用户ID")
    private String userId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "点赞数")
    private Integer likeCount;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "子评论")
    private List<CommentPageVO> childComment;
}
